package com.once;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * @author 张成
 */
@Entity
public class POJO {
    @Id(autoincrement = true)
    private Long id;
    //公司
    private String company;

    //类别
    private String category;

    //规格

    private String norms;

    //重量(序列化)
    private String weight;

    //时间
    private String time;

    @Generated(hash = 563744945)
    public POJO(Long id, String company, String category, String norms,
                String weight, String time) {
        this.id = id;
        this.company = company;
        this.category = category;
        this.norms = norms;
        this.weight = weight;
        this.time = time;
    }

    @Generated(hash = 2121451075)
    public POJO() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCompany() {
        return this.company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCategory() {
        return this.category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getNorms() {
        return this.norms;
    }

    public void setNorms(String norms) {
        this.norms = norms;
    }

    public String getWeight() {
        return this.weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getTime() {
        return this.time;
    }

    public void setTime(String time) {
        this.time = time;
    }


}
